Page({
    data: {

        // videoSrc:"https://static.huaweimossel.com/public/videos/25/e4/a8/0a34dcd5d1b4c3d3e4000a2c42d9f5fe2aa794d0.mp4",
        videoSrc:"https://appapi.chnmuseum.cn/uploadfiles/exhibit_t_audio/20220214/202202141426382208.mp3",
        posterSrc: "                                 ",
        controls: true,
        autoplay: true,
        loop: true,
        muted: false,
        objectFit: "fill",
    },
    refreshFunHander(){
        console.log('pkl---refresh','123');
        has.startPullDownRefresh({
            sucess:()=>{
                console.log('pkl---refresh','sucess');
            },
            complete:()=>{
                console.log('pkl---refresh','complete');

            }
        });
    },
    onLoad:function(){
        let videoContext = has.createVideoContext('myVideo');
        videoContext.play()
        has.showTabBar({
            success: function (res) {
                console.log('showTabBar回调成功：' + JSON.stringify(res));
            },
            fail: function (res) {
                console.log('showTabBar回调失败：' + JSON.stringify(res));
            },
            complete: function (res) {
                console.log('showTabBar回调完成：' + JSON.stringify(res));
            }
        });
    }
})